package com.isorf.test;


import org.springframework.stereotype.Component;

@Component
public class dog {
public String name;
private int age;
private String sex;

    public static int aaa() {
        int sum = 0;
        for (int i = 1; i <= 100; i++) {
            sum += i;
        }
        return sum;
    }
    public dog()
    {

    }

    public dog(String name, int age, String sex) {
        this.name = name;
        this.age = age;
        this.sex = sex;
    }

    public String show(){
        return "我是黄狗，我喜欢打人，尤其是在落后的情况下";
    }

}
